<?php get_header(); ?>

<!-- BEGIN #main-content -->
<div <?php echo sidebar_position('primary-content'); ?>>
		
	<h1 class="page-title">
		<?php printf( __( 'Search Results for: %s', 'qns' ), '<span>' . get_search_query() . '</span>' ); ?>
	</h1>
	
	<?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs(); ?>
		
	<!-- BEGIN .page-content -->
	<div class="page-content">

		<?php if ( have_posts() ) : ?>
		
			<ul class="article-category-col-1 clearfix">
				<?php while ( have_posts() ) : the_post(); ?>
						<?php get_template_part( 'loop', 'style1' ); ?>
				<?php endwhile; ?>
			</ul>
				
			<?php load_template( get_template_directory() . '/includes/pagination.php' ); ?>
		
		<?php else : ?>
			<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'qns' ); ?></p>
			<?php get_search_form(); ?>
		<?php endif; ?>

	<!-- END .page-content -->
	</div>
		
<!-- BEGIN #main-content -->
</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>